package com.chase.framerwork.entity;

import javax.persistence.Entity;

@Entity(name="SYS_LOG")
public class Log extends BaseEntity
{	
	/**
     * 
     */
    private static final long serialVersionUID = -6843174691817435820L;
    
    /**
     * IP地址
     */
	private String ip;
	
	/**
	 * 用户
	 */
	private User user;
	
	/**
	 * 项目
	 */
	private String project;
	
	/**
	 * 模块
	 */
	private String module;
	
	/**
	 * 源文件路径
	 */
	private String srcFile;
	
	/**
	 * 函数名
	 */
	private String funName;
	
	/**
	 * 行号
	 */
	private Integer lineNum;
	
	/**
	 * 进程ID
	 */
	private Integer processId;
	
	/**
	 * 严重级别
	 */
	private Integer level;
	
	/**
	 * 内容信息
	 */
	private String content;

	public String getIp()
    {
    	return ip;
    }

	public void setIp(String ip)
    {
    	this.ip = ip;
    }

	public User getUser()
    {
    	return user;
    }

	public void setUser(User user)
    {
    	this.user = user;
    }

	public String getProject()
    {
    	return project;
    }

	public void setProject(String project)
    {
    	this.project = project;
    }

	public String getModule()
    {
    	return module;
    }

	public void setModule(String module)
    {
    	this.module = module;
    }

	public String getSrcFile()
    {
    	return srcFile;
    }

	public void setSrcFile(String srcFile)
    {
    	this.srcFile = srcFile;
    }

	public String getFunName()
    {
    	return funName;
    }

	public void setFunName(String funName)
    {
    	this.funName = funName;
    }

	public Integer getLineNum()
    {
    	return lineNum;
    }

	public void setLineNum(Integer lineNum)
    {
    	this.lineNum = lineNum;
    }

	public Integer getProcessId()
    {
    	return processId;
    }

	public void setProcessId(Integer processId)
    {
    	this.processId = processId;
    }

	public Integer getLevel()
    {
    	return level;
    }

	public void setLevel(Integer level)
    {
    	this.level = level;
    }

	public String getContent()
    {
    	return content;
    }

	public void setContent(String content)
    {
    	this.content = content;
    }
}
